widget: Reshuffle code for style context getter
authorBenjamin Otte <otte@redhat.com>
Sat, 26 Mar 2011 15:07:54 +0000 (16:07 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 26 Mar 2011 23:48:25 +0000 (00:48 +0100)
commit963c0905f2f0e71c7d30f8e9f2b95455ab01ae5a
tree7b882dfb497c6e002938308ac5ed40b2863d718c
parent757087e9b47229930f4b302adc20e966978023a1
widget: Reshuffle code for style context getter

The intention of this patch is to make the code clearer, shorter and
most of all to avoid recreating the widget path and setting it path
twice on the style context when the style context was recreated.
gtk/gtkwidget.c